/**
 * 十二星座枚举
 */
export enum StarType {
    Capricorn ,
    Aquarius,
    Pisces ,
    Aries,
    Taurus,
    Gemini,
    Cancer,
    Leo,
    Virgo,
    Libra,
    Scorpio,
    Sagittarius,

}

export default class GameConfig {

    static replyTime = 5;       //每5分钟刷新体力
    static staminaMax = 100;       //体力值最高100
    static getStarChinese(index : StarType){
        let prop = '';
        switch(index){
            case StarType.Capricorn :
                prop = '摩羯座' ;
                break; 
            case StarType.Aquarius :
                prop = '水瓶座' ;
                break; 
            case StarType.Pisces :
                prop = '双鱼座' ;
                break; 
            case StarType.Aries :
                prop = '白羊座' ;
                break; 
            case StarType.Taurus :
                prop = '金牛座' ;
                break; 
            case StarType.Gemini :
                prop = '双子座' ;
                break; 
            case StarType.Cancer :
                prop = '巨蟹座' ;
                break; 
            case StarType.Leo :
                prop = '狮子座' ;
                break; 
            case StarType.Virgo :
                prop = '处女座' ;
                break; 
            case StarType.Libra :
                prop = '天秤座' ;
                break; 
            case StarType.Scorpio :
                prop = '天蝎座' ;
                break; 
            case StarType.Sagittarius :
                prop = '射手座' ;
                break; 
        }
        return prop;
    };
    static getStarEnglish(card){
        let prop = '';
        switch(card){
            case StarType.Capricorn :
                prop = 'Capricorn' ;
                break; 
            case StarType.Aquarius :
                prop = 'Aquarius' ;
                break; 
            case StarType.Pisces :
                prop = 'Pisces' ;
                break; 
            case StarType.Aries :
                prop = 'Aries' ;
                break; 
            case StarType.Taurus :
                prop = 'Taurus' ;
                break; 
            case StarType.Gemini :
                prop = 'Gemini' ;
                break; 
            case StarType.Cancer :
                prop = 'Cancer' ;
                break; 
            case StarType.Leo :
                prop = 'Leo' ;
                break; 
            case StarType.Virgo :
                prop = 'Virgo' ;
                break; 
            case StarType.Libra :
                prop = 'Libra' ;
                break; 
            case StarType.Scorpio :
                prop = 'Scorpio' ;
                break; 
            case StarType.Sagittarius :
                prop = 'Sagittarius' ;
                break; 
        }
        return prop;
    }
}
